<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%> 
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="WEB-INF/c.tld" prefix="c"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html:html locale="true">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<title>Quiz HomePage</title>
		<link href="default.css" rel="stylesheet" type="text/css" />
	</head>

<body>
<div id="header">
	<div id="logo">
		<h1><a href="#">Quiz</a></h1>
	</div>
	<div id="menu">
		<ul>
			<li><a></a></li>
		</ul>
	</div>
</div>

<html:form action="/login" method="post" focus="login">
<div id="content">
	<div id="sidebar">
		<div id="login" class="boxed">
			<div class="title">
				<h2>Login</h2>
			</div>
			<div class="content">
					<fieldset>
					<label for="inputtext1">Login:</label>
					<html:text property="login" />
					<label for="inputtext2">Password:</label>
					<html:password property="password"/>

					<html:submit value="Sign In"/>

					<c:if test="${error != null}">
						<c:out value="${error}"/>
					</c:if>					
					<p><a href="register.jsp">Registre-se Aqui!</a></p>
					</fieldset>
			</div>
		</div>
		<!-- end #login -->
	</div>
	<!-- end #sidebar -->
	<div id="main">
		<div id="welcome" class="post">
			<h2 class="title"><span>Bem vindo ao Quiz!!!</span></h2>		
		
			<div class="story"><img src="images/quiz.gif" alt="Quiz" width="175" height="150" class="left" />
				<p><strong>Quiz</strong> &eacute; um site no qual voc&ecirc; encontrar&aacute; testes de m&uacute;ltipla escolha. O site conta ainda com um ranking dos participantes, que mostra o n&uacute;mero de quest&otilde;es acertadas por cada um! <em>Enjoy :)</em></p>
			</div>
		</div>
		<!-- end #welcome -->
	</div>
	<!-- end #main -->
	<div id="sidebar2">
		<div id="sponsors" class="boxed">
			<div class="title">
				<h2>Links relacionados</h2>
			</div>
			<div class="content">
				<ul>
					<li> <a href="http://java.sun.com">Sun</a></li>
					<li> <a href="http://www.guj.com.br">GUJ </a></li>
					<li> <a href="http://www.mundojava.com.br">Mundo Java </a></li>
					<li> <a href="http://www.javamagazine.com.br">JavaMagazine </a></li>
				</ul>
			</div>
		</div>
		<!-- end #sponsors -->
	</div>
	<div style="clear: both;">&nbsp;</div>
</div>
</html:form>
<!-- end #sidebar2 -->&nbsp;
<div id="footer">
	<p id="legal">Copyright &copy; 2008. All Rights Reserved. Designed by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.</p>
</div>
</body>
</html:html>